package com.gwq.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class SysMenuDto implements Serializable {

    private String id;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "")
    private String title;

    @ApiModelProperty(value = "菜单图标")
    private String icon;
    @ApiModelProperty(value = "")
    private String path;
    @ApiModelProperty(value = "")
    private String component;

    private List<SysMenuDto> children = new ArrayList<>();
}
